
{layout name="p/base"}
    <div class="row">
      <div class="col-lg-12">
        <h1>会员管理 <small>会员信息编辑</small></h1>
        <ol class="breadcrumb">
          <li><a href="index.php"><i class="fa fa-dashboard"></i> 管理首页</a></li>
          <li><a href="/user/userlist"><i class="fa fa-dashboard"></i> 会员列表信息</a></li>
          <li class="active"><i class="fa fa-table"></i> 会员信息编辑</li>
        </ol>
        <div class="alert alert-success alert-dismissable">
          <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
          请准确编辑会员信息
        </div>
      </div>
    </div>
    <!-- /.row -->
    <div class="row">
      <!-- 选项卡start -->
      <div class="bs-example">
      	<!-- 选项卡标题start -->
        <ul class="nav nav-tabs" style="margin-bottom:15px;">
          <li class="active">
            <a href="#one" data-toggle="tab">会员认证信息</a>
          </li>
        </ul>
        <!-- 选项卡标题end -->
        <!-- 选项卡内容start -->
        <div id="myTabContent" class="tab-content">
          <!-- 选项卡内容1会员类型start -->
          <div id="one" class="tab-pane fade active in">
            <!-- 基本信息start -->
            <div class="col-lg-10">
              <!-- 会员信息start -->
              <form class="form-horizontal" action="/user/rzpass" method="post">
                  <div class="form-group">
                    <label class="control-label col-sm-2">姓名</label>
                    <div class="col-sm-4">
                      <input class="form-control" type="text" name="name" value="{$info.name}" readonly>
                    </div>
                    <label class="control-label col-sm-2">身份证号</label>
                    <div class="col-sm-4">
                      <input class="form-control" type="text" value="{$info.card_id}" name="number" readonly>
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="control-label col-sm-2">会员账号</label>
                    <div class="col-sm-4">
                      <input class="form-control" type="text"  value="{$info.account}" readonly>
                    </div>
                    <div class="col-sm-4">
                    {if !$rz}
						<button type="submit" class="btn btn-primary">实名认证</button>		
                    {else/}
                    	<p>该用户已实名认证通过</p>
                    {/if}
                    </div>
                  </div>
                  </form>
                  <div class="form-group">
                    <label for="firstname" class="control-label col-sm-2">会员身份证照片正面：</label>
                    <div class="col-sm-4">
                     <img src="{$info.card_pic_z}" width="200">
                    </div>
                    <label for="firstname" class="control-label col-sm-2">会员身份证照片反面：</label>
                    <div class="col-sm-4">
                    <img src="{$info.card_pic_f}" width="200">
                    </div>
                  </div>
              <!-- 会员信息end -->
            </div>
            <!-- 基本信息end -->
          </div>
          <!-- 选项卡内容1会员类型end -->
        </div>
        <!-- 选项卡内容end -->
      </div>
      <!-- 选项卡end -->
    </div>